﻿<%--<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Artist_Coordinator.aspx.cs"
    Inherits="CTEA_INDIA.Artist_Coordinator" Theme="Default" %>

<%@ Register Src="~/MenuList.ascx" TagName="Menu" TagPrefix="m1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register Src="~/Header.ascx" TagName="header" TagPrefix="uc" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Artist Co-ordinator</title>
    <link href="CSS/Stylsheet.css" rel="stylesheet" type="text/css" />
    <link href="CSS/MyStyle.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">

        function isNumberKey(evt) {
            var charCode = (evt.which) ? evt.which : event.keyCode
            if (charCode > 31 && (charCode < 48 || charCode > 57))
                return false;
        }

        function isCash(dropdown) {

            if (dropdown.selectedIndex == 3) {
                document.getElementById("Tech").style.visibility = "Visible";
                document.getElementById("Artist").style.visibility = "Collapse";
            }
            else {
                document.getElementById("Tech").style.visibility = "Collapse";
                document.getElementById("Artist").style.visibility = "Visible";
            }
        }

        function checkFileExtension(elem) {
            var filePath = elem.value;


            if (filePath.indexOf('.') == -1)
                return false;


            var validExtensions = new Array();
            var ext = filePath.substring(filePath.lastIndexOf('.') + 1).toLowerCase();


            validExtensions[0] = 'jpg';
            validExtensions[1] = 'jpeg';
            validExtensions[2] = 'bmp';
            validExtensions[3] = 'png';
            validExtensions[4] = 'gif';


            for (var i = 0; i < validExtensions.length; i++) {
                if (ext == validExtensions[i])
                    return true;
            }


            alert('The file extension ' + ext.toUpperCase() + ' is not allowed!');
            elem.value = "";
            return false;
        }

        function dateCheck(textbox) {

            var d2 = new Date(document.getElementById("txtEndDate").value);
            var d1 = new Date(document.getElementById("txtStartDate").value);

            var t2 = d2.getTime();
            var t1 = d1.getTime();

            var days = parseInt((t2 - t1) / (24 * 3600 * 1000));
            if (parseInt((t2 - t1) / (24 * 3600 * 1000)) >= 0) {
                document.getElementById("txtTotalNoDays").value = days;
            }
            else {
                document.getElementById("txtTotalNoDays").value = "0";
            }
        }

    </script>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
    </asp:ToolkitScriptManager>
    <div>
        <uc:header runat="server" ID="aa" />
    </div>
   <%-- <div class="toporagne">
        <%--  //  <img src="Images/top_orange-strip.jpg"  />--%>
        <hr size="10" color="#091247" width="900px" />
    <%--</div> --%>
    <div>
        <center>
            <table width="1000px" border="0">
                <tr>
                    <td valign="top" align="center">
                        <table border="0" class="MainDiv">
                            <tr>
                                <td valign="top" align="center" width="180px">
                                    <m1:Menu runat="server" ID="menu" />
                                </td>
                                <td valign="top">
                                    <table border="0" width="650px">
                                        <tr>
                                            <td class="myaccount">
                                                <asp:Label ID="Label20" runat="server" Text="Artist Co-ordinator" CssClass="headingpage"></asp:Label><br />
                                                <div class="imgstrip">
                                                </div>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <!-- <center> !-->
                                                <table cellpadding="3" cellspacing="3">
                                                    <tr>
                                                        <td align="center">
                                                            <span id="errSpan" style="width: 420px" class="spanErrorMsgs" runat="server" visible="false">
                                                            </span>
                                                        </td>
                                                        <td align="center">
                                                            <table style="padding-left: 20px; padding-right: 20px;" width="480px" cellpadding="5px"
                                                                cellspacing="3px" border="0" class="MiddleBlackDivCandidateReg">
                                                                <tr>
                                                                    <td id="spnMsg" visible="false" runat="server" colspan="2" style="border: 1px solid green;
                                                                        background: #BFFFDF; width: 460px;" align="center">
                                                                        <span style="border: none;" runat="server" id="spnText" visible="true" class="spanMsgs">
                                                                        </span>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td>
                                                                        <fieldset>
                                                                            <legend>Details</legend>
                                                                            <table style="text-align: left; padding-left: 20px; padding-right: 20px;" width="480px"
                                                                                cellpadding="5px" cellspacing="3px" border="0">
                                                                                <tr>
                                                                                    <td align="left" style="width: 240px;">
                                                                                        <asp:Label ID="Label1" runat="server" Text="Artist Name"></asp:Label><sup style="color: Red;">
                                                                                            *</sup>
                                                                                    </td>
                                                                                    <td align="left" class="style1">
                                                                                        <asp:TextBox MaxLength="100" ID="txtArtistName" runat="server"></asp:TextBox>
                                                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" Display="None"
                                                                                            ControlToValidate="txtArtistName" ErrorMessage="Please, Enter Company Name" CssClass="validators"></asp:RequiredFieldValidator>
                                                                                        <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender2" runat="server" TargetControlID="RequiredFieldValidator1">
                                                                                        </asp:ValidatorCalloutExtender>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td align="left">
                                                                                        <asp:Label ID="Label4" runat="server" Text="Artist Category"></asp:Label>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:DropDownList ID="cmbArtistCategory" runat="server">
                                                                                            <asp:ListItem>Male</asp:ListItem>
                                                                                            <asp:ListItem>Female</asp:ListItem>
                                                                                            <asp:ListItem>Child</asp:ListItem>
                                                                                        </asp:DropDownList>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td align="left" valign="top">
                                                                                        <asp:Label ID="Label3" runat="server" Text="Location"></asp:Label><sup style="color: Red;">
                                                                                            *</sup>
                                                                                    </td>
                                                                                    <td align="left" class="style1">
                                                                                        <asp:TextBox Rows="2" MaxLength="100" ID="txtLocation" TextMode="MultiLine" runat="server"></asp:TextBox>
                                                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" Display="None"
                                                                                            ControlToValidate="txtLocation" ErrorMessage="Please, Enter Address" CssClass="validators"></asp:RequiredFieldValidator>
                                                                                        <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender3" runat="server" TargetControlID="RequiredFieldValidator2">
                                                                                        </asp:ValidatorCalloutExtender>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td align="left">
                                                                                        <asp:Label ID="Label11" runat="server" Text="Age"></asp:Label>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:TextBox ID="txtAge" runat="server" Text="" onkeypress="return isNumberKey(event)"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td class="style1">
                                                                                        <asp:Label ID="Label8" runat="server" Text="Email Id"></asp:Label><sup style="color: Red;"> *</sup>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:TextBox ID="txtEmail" runat="server"></asp:TextBox>
                                                                                        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ErrorMessage="Invalid Email"
                                                                                            ControlToValidate="txtEmail" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
                                                                                            Display="None"></asp:RegularExpressionValidator>
                                                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" Display="None"
                                                                                            ControlToValidate="txtEmail" ErrorMessage="Please, Enter Email" CssClass="validators">
                                                                                        </asp:RequiredFieldValidator>
                                                                                        <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender1" runat="server" TargetControlID="RequiredFieldValidator3">
                                                                                        </asp:ValidatorCalloutExtender>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td align="left">
                                                                                        <asp:Label ID="Label15" runat="server" Text="Type of Artist"></asp:Label>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:DropDownList ID="cmbTypeOfArtist" runat="server" onchange="isCash(this.form.cmbTypeOfArtist)">
                                                                                            <asp:ListItem>Celebrity</asp:ListItem>
                                                                                            <asp:ListItem>Aspiring</asp:ListItem>
                                                                                            <asp:ListItem>Model</asp:ListItem>
                                                                                            <asp:ListItem>Technicians</asp:ListItem>
                                                                                        </asp:DropDownList>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </fieldset>
                                                                    </td>
                                                                </tr>
                                                                <tr id="Artist">
                                                                    <td colspan="2">
                                                                        <fieldset>
                                                                            <legend>About Artist</legend>
                                                                            <table style="text-align: left; padding-left: 20px; padding-right: 20px;" width="480px"
                                                                                cellpadding="5px" cellspacing="3px" border="0">
                                                                                <tr>
                                                                                    <td align="left" class="style1" style="width: 240px">
                                                                                        <asp:Label ID="Label2" runat="server" Text="Attach photoshoot"></asp:Label>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:FileUpload ID="ftpPicUpload" runat="server" SkinID="FileUpload" />
                                                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator8" Display="None" runat="server"
                                                                                            ErrorMessage="Please Select Your Photo " ControlToValidate="ftpPicUpload"></asp:RequiredFieldValidator>
                                                                                        <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender13" runat="server" TargetControlID="RequiredFieldValidator8">
                                                                                        </asp:ValidatorCalloutExtender>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td align="left" class="style1" style="width: 240px">
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:FileUpload ID="ftpPicUpload2" runat="server" SkinID="FileUpload" />
                                                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" Display="None" runat="server"
                                                                                            ErrorMessage="Please Select Your Photo " ControlToValidate="ftpPicUpload2"></asp:RequiredFieldValidator>
                                                                                        <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender4" runat="server" TargetControlID="RequiredFieldValidator4">
                                                                                        </asp:ValidatorCalloutExtender>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td align="left" class="style1" style="width: 240px">
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:FileUpload ID="ftpPicUpload3" runat="server" SkinID="FileUpload" />
                                                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator5" Display="None" runat="server"
                                                                                            ErrorMessage="Please Select Your Photo " ControlToValidate="ftpPicUpload3"></asp:RequiredFieldValidator>
                                                                                        <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender5" runat="server" TargetControlID="RequiredFieldValidator5">
                                                                                        </asp:ValidatorCalloutExtender>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td align="left" class="style1" style="width: 240px">
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:FileUpload ID="ftpPicUpload4" runat="server" SkinID="FileUpload" />                                                                                       
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td align="left" class="style1" style="width: 240px">
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:FileUpload ID="ftpPicUpload5" runat="server" SkinID="FileUpload" />                                                                                        
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td align="left" class="style1" style="width: 240px">
                                                                                        <asp:Label ID="Label5" runat="server" Text="Reference Company Name/Name"></asp:Label>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:TextBox ID="txtRefCompName" runat="server"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td align="left" class="style1" style="width: 240px">
                                                                                        <asp:Label ID="Label6" runat="server" Text="Reference Contact"></asp:Label>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:TextBox ID="txtRefContact" runat="server"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </fieldset>
                                                                    </td>
                                                                </tr>
                                                                <tr id="Tech" style="visibility: collapse;">
                                                                    <td colspan="2">
                                                                        <fieldset>
                                                                            <legend>Type</legend>
                                                                            <table style="text-align: left; padding-left: 20px; padding-right: 20px;" width="480px"
                                                                                cellpadding="5px" cellspacing="3px" border="0">
                                                                                <tr>
                                                                                    <td align="left" class="style1" style="width: 240px">
                                                                                        <asp:Label ID="Label17" runat="server" Text="Technician Type"></asp:Label>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:DropDownList ID="cmbTechType" runat="server">
                                                                                            <asp:ListItem>Cameraman</asp:ListItem>
                                                                                            <asp:ListItem>Lightman</asp:ListItem>
                                                                                        </asp:DropDownList>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </fieldset>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td colspan="2" align="center">
                                                                        <asp:Button ID="Button1" CssClass="btnsubmit" runat="server" Text="Approve" OnClick="Button1_Click" />
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </td>
                                                    </tr>
                                                </table>
                                                <!-- </center> !-->
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </center>
    </div>
    </form>
</body>
</html>
--%>